@import '~antd/dist/antd.less';
@import './pre.less';

html {
  background: rgba(255, 255, 255, 1);
}

body {
  .ant-layout {
    header {
      display: none;
    }
  }
  .ant-pro-sider-logo {
    cursor: unset; // 去除菜单标题栏的cursor
  }
  .ant-popover-buttons {
    display: flex; // 修复popconfirm按钮的显示问题
  }
  .ant-divider-horizontal.ant-divider-with-text-left::before {
    width: @normal-gap; // 分割线左边固定宽度
  }
  .ant-design-pro.ant-pro-basicLayout {
    // 固定左边的菜单高度，右边的内容滚动
    height: 100vh;
    overflow: hidden;
    section {
      .ant-layout {
        overflow-y: auto;
      }
    }
  }
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  gap: @small-gap;
}

.line-input-button {
  display: grid;
  grid-template-columns: 5fr 1fr 1fr;
  gap: @normal-gap;
  width: 50%;
  .ant-input-group {
    .ant-input-group-addon:last-child {
      padding: 0;
    }
  }
}

